﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Email.aspx.vb" Inherits="Email" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Email</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:MultiView ID="objMultiView" runat="server">
            <asp:View ID="objViewError" runat="server">
                <asp:Literal ID="litMessageViewError" runat="server"></asp:Literal>
            </asp:View>
            <asp:View ID="objViewUsernamePassword" runat="server">
                <table>
                    <tr>
                        <td>
                            Email:
                        </td>
                        <td>
                            <asp:TextBox ID="txtUsername" Width="350px" runat="server"></asp:TextBox><asp:RequiredFieldValidator
                                ID="reqUsername" Display="Dynamic" runat="server" ControlToValidate="txtUsername"
                                ErrorMessage=" Invalid: Email Must Be Entered."></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="regUsername" Display="Dynamic" ControlToValidate="txtUsername"
                                runat="server" ErrorMessage=" Invalid: Valid Email Must Be Input." ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Password:
                        </td>
                        <td>
                            <asp:TextBox ID="txtPassword" Width="350px" runat="server" TextMode="Password">
                            </asp:TextBox><asp:RequiredFieldValidator ID="regPassword" Display="Dynamic" runat="server"
                                ControlToValidate="txtPassword" ErrorMessage=" Invalid: Password Must Be Entered."></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                </table>
                <asp:Button ID="butValidate" runat="server" Text="Login" /><br />
                <asp:Literal ID="litMessageViewUsernamePassword" runat="server"></asp:Literal>
            </asp:View>
            <asp:View ID="objViewAttachmentsAndSecureText" runat="server">
                <asp:Literal ID="litMessageViewAttachmentsAndSecureText" runat="server"></asp:Literal>
            </asp:View>
        </asp:MultiView>
    </div>
    </form>
</body>
</html>
